org.eclipse.vtp.framework.engine.runtime
Class Session.Context

java.lang.Object
  extended by org.eclipse.vtp.framework.engine.support.AbstractReporter
      extended by org.eclipse.vtp.framework.engine.support.AbstractLogger
          extended by org.eclipse.vtp.framework.engine.support.AbstractContext
              extended by org.eclipse.vtp.framework.engine.support.AbstractSessionContext
                  extended by org.eclipse.vtp.framework.engine.runtime.Session.Context
All Implemented Interfaces:
IContext, ILogger, IProcessContext, IReporter, ISessionContext
Enclosing class:
Session

protected final class Session.Context
extends AbstractSessionContext

Implementation of the generic context.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from class org.eclipse.vtp.framework.engine.support.AbstractSessionContext
descriptor, processContext, providedServiceIdentifiers, RESERVED_SERVICE_IDENTIFIERS
 
Fields inherited from interface org.eclipse.vtp.framework.core.IReporter
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN
 
Method Summary
protected  java.lang.Object[] lookupAllLocalServices(java.lang.String identifier)
          Returns all the services registered under the specified identifier in this registry or null if no such services can be found.
protected  java.lang.Object lookupLocalService(java.lang.String identifier)
          Returns a service registered under the specified identifier in this registry or null if no such service exists.
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractSessionContext
clearAttribute, doReport, getAttribute, getAttributeNames, getProcessID, getProperty, getSessionID, isSeverityEnabled, loadClass, lookupAllInheritedServices, lookupInheritedService, lookupReservedService, setAttribute
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractContext
lookup, lookupAll
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractLogger
debug, debug, debug, debug, doLog, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractReporter
report, report, report, report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.vtp.framework.core.IContext
lookup, lookupAll
 
Methods inherited from interface org.eclipse.vtp.framework.core.ILogger
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn
 
Methods inherited from interface org.eclipse.vtp.framework.core.IReporter
report, report, report, report
 

Method Detail

lookupLocalService

protected java.lang.Object lookupLocalService(java.lang.String identifier)
Description copied from class: AbstractContext
Returns a service registered under the specified identifier in this registry or null if no such service exists.

Overrides:
lookupLocalService in class AbstractSessionContext
Parameters:
identifier - The identifier of the service to return, will never be null.
Returns:
A service registered under the specified identifier in this registry or null if no such service exists.

lookupAllLocalServices

protected java.lang.Object[] lookupAllLocalServices(java.lang.String identifier)
Description copied from class: AbstractContext
Returns all the services registered under the specified identifier in this registry or null if no such services can be found.

Overrides:
lookupAllLocalServices in class AbstractSessionContext
Parameters:
identifier - The identifier of the services to return, will never be null.
Returns:
All the services registered under the specified identifier in this registry or null if no such services can be found.